home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
devices
/
bootblock.g
< prev
next >
Wrap
Text File
|
1992-05-06
|
353b
|
17 lines
type
BootBlock_t = struct {
[4]char bb_id;
ulong bb_chksum;
ulong bb_dosblock;
};
uint BOOTSECS = 2;
[4]char
BBID_DOS = ('D', 'O', 'S', '\0'),
BBID_KICK = ('K', 'I', 'C', 'K');
ulong
BBNAME_DOS = (('D'-'\e')<<24)|(('O'-'\e')<<16)|(('S'-'\e')<<8),
BBNAME_KICK = (('K'-'\e')<<24)|(('I'-'\e')<<16)|(('C'-'\e')<<8)|('K'-'\e');